<?php
use yii\bootstrap\ActiveForm;
use yii\helpers\Html;
?>
<div class="ibox-title">
	<h5>添加标签</h5>
</div>
<div class="ibox-content timeline">
    <div class="auth-item-model-form">
        <?php if(Yii::$app->session->hasFlash('info')){  echo Yii::$app->session->getFlash('info');}?>
        <?php $form = ActiveForm::begin([
            'method' => 'post',
        ]); ?>
        <?= $form->field($model, 'tagname')->textInput() ?>
        <?= $form->field($model, 'weight')->textInput() ?>
        <div class="form-group">
            <?= Html::submitButton('保存', ['class' =>  'btn btn-primary green']) ?>
        </div>
        <?php ActiveForm::end(); ?>
    </div>
</div>